package com.mirror.utils.weibo;

import java.io.Serializable;

public class OpenAccount implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 用户伪码 */
	private String openId;

	/** 平台类型 */
	private int openType;

	/** 访问令牌 */
	private String accessToken;

	/** 生效时间 */
	private Long effectTime;

	/**
	 * 构造方法
	 */
	public OpenAccount() {
	}

	/**
	 * 构造方法
	 */
	public OpenAccount(String openId, int openType, String accessToken, Long effectTime) {
		this.openId = openId;
		this.openType = openType;
		this.accessToken = accessToken;
		this.effectTime = effectTime;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public int getOpenType() {
		return openType;
	}

	public void setOpenType(int openType) {
		this.openType = openType;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public Long getEffectTime() {
		return effectTime;
	}

	public void setEffectTime(Long effectTime) {
		this.effectTime = effectTime;
	}

}
